package com.xn.example.service.hystrix;

import com.xn.example.service.ProviderService;
import org.springframework.stereotype.Component;

/**
 * feign的容错机制
 */

@Component
public class ProviderServiceHystrix implements ProviderService {

    @Override
    public String test01(String name) {
        return "provide is down";
    }
}
